﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace Brain
{
    public interface IContentManager : IEngineManager, IDisposable
    {
        ContentManager ContentManager { get; set; }

        T Load<T>(string place);

        /// <summary>
        /// Loads the Texture2D for the closest resolution
        /// </summary>
        /// <param name="loader"></param>
        /// <returns></returns>
        Texture2D Load(TextureLoader loader);

        void AssignOwnership(IDisposable disp);
    }
}
